<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>百度地图API</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no" >
    <script type="text/javascript" src="http://api.map.baidu.com/api?v=3.0&ak=CwElsZ80OScyBxSqP4q2jKEDDWViPj42"></script>
    <style type="text/css">  
        html{height:100%}  
        body{height:100%;margin:0px;padding:0px}  
        #container{height:100%}  
    </style> 
</head>
<body>
    <div id="container"></div> 
    <script type="text/javascript"> 
        var map = new BMap.Map("container");
        // 创建地图实例  
        var point = new BMap.Point(116.404, 39.915);
        // 创建点坐标  
        map.centerAndZoom(point, 15);
        // 初始化地图，设置中心点坐标和地图级别  
    </script>
</body>
</html>